package inheritedPanel;

import java.awt.Dimension;

import javax.swing.JFrame;
import javax.swing.SwingUtilities;
import javax.swing.UIManager;
import de.javasoft.plaf.synthetica.SyntheticaBlackEyeLookAndFeel;

public class DefaultFrame {
	JFrame frame = new JFrame("JFrame Demo");
	SupplierInfo p = new SupplierInfo();
	
	public DefaultFrame() {
		frame.add(p);
		frame.setPreferredSize(new Dimension(600, 400));
		frame.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);		
		frame.setExtendedState(JFrame.MAXIMIZED_BOTH);
		frame.pack();
		frame.setVisible(true);
	}
	public static void main(String[] args) {
		try {
			UIManager.setLookAndFeel(new SyntheticaBlackEyeLookAndFeel());
		} catch (Exception e) {}
		SwingUtilities.invokeLater(new Runnable() {			
			@Override
			public void run() {
				new DefaultFrame();				
			}
		});
	}
}
